﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>    
    <link rel="stylesheet" type="text/css" href="Theme/StyleSheet.css" />
    <script type="text/javascript">
        function resizeFrame() {

            var f = document.getElementById('frame1');

            var contentContainer = document.getElementById('contentContainer')
            //contentContainer.setAttribute("style", "width: 100%; height: 100%;");
            var newHeight = f.contentDocument.body.scrollHeight + 35;
            
            f.setAttribute("style", "width: 100%;height: " + newHeight + "px;");
            contentContainer.setAttribute("style", "width: 100%; height: " + newHeight + "px;");
        };

        function resetSize() {
            var f = document.getElementById('frame1');
            var contentContainer = document.getElementById('contentContainer')
            
            var newHeight = 300;
            
            f.setAttribute("style", "width: 100%;height: " + newHeight + "px;");
            contentContainer.setAttribute("style", "width: 100%; height: " + newHeight + "px;");
        };
    </script>
</head>
<body class="bodyStyle">
    <form id="form1" runat="server" dir="rtl">
    <div>
        <img alt="התנועה הליברלית החדשה" src="Images/LiberalMovement4.png" width="500" height="120"
            class="styleTopImage" />
        <img id="Image1" alt="חופש" height="120px" src="Images/freedom1.jpg" />
        <table id="table1" border="0" style="width: 100%; min-height: 328px;">
            <tr style="max-height:25px;">
                <td class="style2">
				<div id="fb-root"></div>
				<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
				<fb:like href="www.liberal.co.il" send="false" width="450" show_faces="true" action="like" font=""></fb:like>
				</td>
                <td class="style1">
                    <table style="width: 300px;">
                        <tr>
                            <td style="width: 100px;">
                                <a id="LinkButtonMain" href="Pages/WelcomePage.html" target="frame1" onclick="resetSize()">דף ראשי</a>
                            </td>
                            <td style="width: 100px;">
                                <a id="LinkButtonPlatform" target="frame1" href="Pages/Platform.htm" onclick="resetSize()">מצע</a>
                            </td>
                            <td style="width: 100px;">
                                <a id="LinkButtonBlog">בלוג</a>
                            </td>
                            <td style="width: 100px;">
                                <a id="LinkButtonArticles" href="Pages/Articles.html" target="frame1" onclick="resetSize()">מאמרים</a>
                            </td>
                        </tr>
                    </table>
                </td>
                <td valign="top" class="style3">
                </td>
                <td class="style3">
                </td>
            </tr>
            <tr id="contentContainer">
                <td>
                </td>
                <td class="styleCenterPart" colspan="2">
                    <iframe id="frame1" name="frame1" style="width: 100%; height: 100%;" src="Pages/WelcomePage.html" frameborder="0" onload="resizeFrame()">
                    </iframe>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td class="styleCorner">
                </td>
                <td class="bottomPart" colspan="2">
                    לפניות שלחו אימייל לכתובת <a href="mailto:ask@liberal.co.il">ask@liberal.co.il</a>
                    </td>
                <td class="styleCorner">
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
